package com.edu.common.systemSetup.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 系统设置对象 tb_system_setup
 * 
 * @author zw
 * @date 2021-02-19
 */
@ApiModel("设置对象")
public class SystemSetup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 标题 */
    @Excel(name = "标题")
    @ApiModelProperty(value = "标题")
    private String textTitle;

    /** 文本域 */
    @Excel(name = "文本域")
    @ApiModelProperty(value = "文本域") 
    private String textField;

    /** 文本类型 (1:功能介绍  2:法律申明  3：平台协议 4：隐私协议  5：关于我们 6：常见问题) */
    @Excel(name = "文本类型 (1:功能介绍  2:法律申明  3：平台协议 4：隐私协议  5：关于我们 6：常见问题)")
    @ApiModelProperty(value = "文本类型 (1:功能介绍  2:法律申明  3：平台协议 4：隐私协议  5：关于我们 6：常见问题)") 
    private String textType;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")  
    private Date createDate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 删除标记(0:正常 1:删除 2:审核中) */
    private String delFlag;

    /** 图片 */
    @Excel(name = "图片")
    private String textPicture;

    /** 是否显示(1:是 2:否) */
    @Excel(name = "是否显示(Y:是 N:否)")
    @ApiModelProperty(value = "是否显示(Y:是 N:否)")   
    private String isShow;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTextTitle(String textTitle) 
    {
        this.textTitle = textTitle;
    }

    public String getTextTitle() 
    {
        return textTitle;
    }
    public void setTextField(String textField) 
    {
        this.textField = textField;
    }

    public String getTextField() 
    {
        return textField;
    }
    public void setTextType(String textType) 
    {
        this.textType = textType;
    }

    public String getTextType() 
    {
        return textType;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setTextPicture(String textPicture) 
    {
        this.textPicture = textPicture;
    }

    public String getTextPicture() 
    {
        return textPicture;
    }
    public void setIsShow(String isShow) 
    {
        this.isShow = isShow;
    }

    public String getIsShow() 
    {
        return isShow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("textTitle", getTextTitle())
            .append("textField", getTextField())
            .append("textType", getTextType())
            .append("createDate", getCreateDate())
            .append("createBy", getCreateBy())
            .append("updateDate", getUpdateDate())
            .append("updateBy", getUpdateBy())
            .append("remarks", getRemarks())
            .append("delFlag", getDelFlag())
            .append("textPicture", getTextPicture())
            .append("isShow", getIsShow())
            .toString();
    }
}
